CC = cc
libopt = -fPIC -shared -pipe

all:
	$(CC) -o lib/libshrike_tools.so shrike_tools.c -lmagic $(libopt)
	$(CC) -o lib/libmodel.so model.c $(libopt)
	$(CC) -o lib/libresponse.so response.c $(libopt)
	$(CC) -o src/Main main.c -Llib -lpthread -lshrike_tools -lresponse -lmodel